/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package wbd_au;

import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;
import java.util.logging.Level;
import java.util.logging.Logger;

/**
 *
 * @author Gospo
 */
public class DBManager {
    
    public static Connection con;

    public static void establish() {
        try {
            con = DriverManager.getConnection("jdbc:oracle:thin:@localhost:1521:orcl", "gospodzin", "niepowiem");
        } catch (SQLException ex) {
            Logger.getLogger(DBManager.class.getName()).log(Level.SEVERE, null, ex);
        }

    }
}
